package com.mrlee.service;

import com.github.pagehelper.PageInfo;
import com.mrlee.bean.Service;
import com.mrlee.utils.AjaxResult;

import java.util.List;

/**
 * Created by dllo on 18/3/15.
 */
public interface ServiceService {
    List<Service> selectbyaid(Integer aid);
    Service selectByPrimaryKey(Integer sid);
    AjaxResult selectAllService();
    AjaxResult changeStatus(Integer serviceId,Integer status,Integer accountId);
    AjaxResult addService(Service service);
    AjaxResult selectService(Integer serviceId);
    AjaxResult search(String osname,String cardid,String status,String ip);
    AjaxResult dynamicSearch(String osname,String cardid,String status,String ip);
    PageInfo<Service> queryServiceByPage(Integer pageNo, Integer pageSize);
}
